
/**
 * username: admin
 * password: Zs/q9+fKZ1JVRrZt/fOr3A==
 * randomStr: 64841601170137773
 * code: 3123
 * grant_type: password
 * scope: server
 */
export class LoginDTO {
  username = ''
  password = ''
  randomStr = 0
  code = 0
}
/**
 * 
 * mobile: SMS@13095805625
 * code: 5789
 * grant_type: mobile
 */
export class SmsLoginDTO {
  constructor(data: SmsLoginDTO) {
    this.mobile = "SMS@" + data.mobile
    this.code = data.code
  }
  mobile: string
  code: string
}